package com.huanxing.cloud.pay.api.handler;

import com.huanxing.cloud.common.core.entity.Result;
import com.huanxing.cloud.pay.common.dto.CreateRefundsRequest;
import com.huanxing.cloud.pay.common.entity.PayRefundOrder;

public interface PayRefundOrderHandler {

	/**
	 * 创建退款单
	 * @param createRefundsRequest 退款参数
	 * @return obj
	 */
	PayRefundOrder createRefundOrder(CreateRefundsRequest createRefundsRequest);

	/**
	 * 调起渠道退款
	 * @param createRefundsRequest 退款参数
	 * @return obj
	 */
	Result refund(CreateRefundsRequest createRefundsRequest);

}
